package com.yy.fourth.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yangyao
 * @Description: TestController控制器
 * @date 2018/10/19 09:22
 */
@RestController
@RequestMapping(value = "/test")
@Slf4j
public class TestController {

    @GetMapping(value = "/interceptor")
    public String test(){
        log.info("--------------请求TestController---------------");
        return "请求成功";
    }
}
